import { userPostJson } from '@/api/apiTool'

//发送私信
export function sendMsgToUser(data, success, showMsg = false) {
    let url = "/front/Msg/sendMsgToUser"
    userPostJson(url, data, success, showMsg)
}

//获取私信人列表
export function getUserList(data, success, showMsg = false) {
    let url = "/front/Msg/getUserList"
    userPostJson(url, data, success, showMsg)
}

//已读信息
export function readMsg(data, success, showMsg = false) {
    let url = "/front/Msg/readMsg"
    userPostJson(url, data, success, showMsg)
}